package io.dshubs.archives.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.dshubs.commons.mybatis.entity.BaseTenantEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 库存表
 * </p>
 *
 * @author tan
 * @since 2021-08-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("archive_base_store")
public class ArchiveBaseStore extends BaseTenantEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 密集架id
     */
    @TableField("location_id")
    private Long locationId;

    /**
     * 档号
     */
    @TableField("file_number")
    private String fileNumber;

    /**
     * 分类id
     */
    @TableField("category_id")
    private String categoryId;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 文件类型 0 文档 1 案卷
     */
    @TableField("file_type")
    private String fileType;

    /**
     * 删除标识  0：未删除 1：删除
     */
    @TableField("del_flag")
    private Integer delFlag;


    /**
     * 更新者
     */
    @TableField("updater")
    private Long updater;

    /**
     * 更新时间
     */
    @TableField("update_date")
    private Date updateDate;


    /**
     * 密集架id
     */
    @TableField(exist = false)
    private String segmentNo;


    @TableField(exist = false)
    private String categoryName;

    /**
     * 全宗号
     */
    @TableField(exist = false)
    private String QZH;

    /**
     * 年度
     */
    @TableField(exist = false)
    private String ND;

    @TableField(exist = false)
    private String BGQX;


    @TableField(exist = false)
    private String JGWT;

    @TableField(exist = false)
    private String XZJS;


    @TableField(exist = false)
    private String QZJH;

    @TableField(exist = false)
    private String HH;
}
